package br.requisiteworks.util.web;

import org.sitemesh.builder.SiteMeshFilterBuilder;
import org.sitemesh.config.ConfigurableSiteMeshFilter;

public class TemplateFilter extends ConfigurableSiteMeshFilter {

	@Override
	protected void applyCustomConfiguration(SiteMeshFilterBuilder builder) {
		builder.addDecoratorPath("/*", "/WEB-INF/decorators/principal.jsp")
				.addExcludedPath("*/util/*");
		builder.addExcludedPath("*/login.jsp*");

	}
}
